package com.list_builder.comparators;

import java.util.Comparator;

import com.list_builder.Person;

public class DateComparator implements Comparator<Person> 
{

	@Override
	public int compare(Person o1, Person o2)
	{
		return o1.getDateOfBirth().compareTo(o2.getDateOfBirth());
	}

}
